home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1994-12-23 | 403 b | 14 lines |
- DEFINITION MODULE Storage ;
-
- FROM SYSTEM IMPORT ADDRESS ;
-
- PROCEDURE ALLOCATE( VAR adr : ADDRESS ; size : LONGINT ) ;
- (* Allocates and clears size bytes of memory. *)
- (* Aborts program execution if the allocation fails *)
-
- PROCEDURE DEALLOCATE( VAR adr : ADDRESS ; size : LONGINT ) ;
- (* Aborts if adr = NIL. *)
- (* Size argument is ignored ( the entire block is always freed). *)
-
- END Storage.
-